<?php
	@session_start();
 	$user = null;
 	if (!isset($_SESSION["user"])) {
		header("Content-Type:text/html; charset=utf-8");
 		echo "<script>alert('管理者帳號不存在!');window.location='login.php'</script>";
    } else {
    	$user =$_SESSION["user"];	
    }
?>